package com.morizhang.merchanmanager.api.plugins;

import com.morizhang.merchanmanager.api.ApiResult;
import com.morizhang.merchanmanager.api.bean.MerChanManagerException;
import com.morizhang.merchanmanager.api.model.JobModel;

import java.util.List;

public interface BasicJobManage {
    void assignJob(JobModel jobModel) throws Exception;
    List<JobModel> getJobList(String userID);
    void checkCompleteAuthority(String userID, String serialNo) throws MerChanManagerException;
    ApiResult completeJob(String serialNo) throws MerChanManagerException;
}
